/**
 * Created by wdcy336 on 2015/6/9.
 */
Ext.define('Monkey.URL', function () {
    //服务器基地址
    var SERVER_URL = "http://localhost:80",
        RESOURCE_HOST = "http://localhost:80",
        RESOURCE_PRE_PATH = "/store";

    return {
        singleton: true,
        SERVER_URL: SERVER_URL,
        RESOURCE_FULL_HOST: RESOURCE_HOST + RESOURCE_PRE_PATH,
        //urls
        JCAPTCHA_URL: SERVER_URL + '/jcaptcha.jpg',
        JCAPTCHA_VALIDATE_URL: SERVER_URL + '/jcaptcha-validate.json',
        LOGIN_URL: SERVER_URL + "/user/login",
        LOGOUT_URL: SERVER_URL + "/user/logout",
        //menus
        LOAD_CHILD_MENUS: SERVER_URL + "/m/child_menus.json",
        LOAD_CHILDREN_MENUS: SERVER_URL + "/m/children_menus.json"

    }
});